//
//  ContactusViewController.m
//  Iderun
//
//  Created by  on 12-6-15.
//  Copyright (c) 2012年 __MyCompanyName__. All rights reserved.
//

#import "ContactusViewController.h"

@implementation ContactusViewController

- (void)viewDidLoad{
    [super viewDidLoad];
    self.title=@"联系我们";
	// Do any additional setup after loading the view.
}

-(void) viewWillAppear:(BOOL)animated{
    [super  viewWillAppear:animated];
    //NSString *url=[[[NSUserDefaults standardUserDefaults] objectForKey:@"kServiceURL"] stringByAppendingPathComponent:@"@bout.html"];
    NSString *url=@"http://www.iderun.com/about.html";
    [_innerWebView  loadRequest:[NSURLRequest  requestWithURL:[NSURL URLWithString:url] cachePolicy:NSURLRequestReloadIgnoringLocalCacheData timeoutInterval:60]];
    [_innerWebView reload];
}

- (void)viewDidUnload
{
    [super viewDidUnload];
    // Release any retained subviews of the main view.
}

- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
{
    return (interfaceOrientation == UIInterfaceOrientationPortrait);
}
-(void) dealloc{
    [super  dealloc];
}

@end
